package com.xuerhua.yxt.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuerhua.yxt.dao.WorkApprovalItemMapper;
import com.xuerhua.yxt.model.WorkApprovalItem;
import com.xuerhua.yxt.service.IWorkApprovalItemService;

@Service("workApprovalItemService")
public class WorkApprovalItemServiceImpl implements IWorkApprovalItemService {

	@Autowired
	private WorkApprovalItemMapper workApprovalItemMapper;
	
	@Override
	public int insertSelective(WorkApprovalItem record) {
		return workApprovalItemMapper.insertSelective(record);
	}

	@Override
	public WorkApprovalItem selectByPrimaryKey(Integer id) {
		return workApprovalItemMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(WorkApprovalItem record) {
		return workApprovalItemMapper.updateByPrimaryKeySelective(record);
	}

}
